
package com.tis.database.entitys.promis;

import java.io.Serializable;

import javax.persistence.*;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.tis.database.dao.ClsInstance;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CUSTOMERS database table.
 * 
 */
@Entity
@Table(name=ClsInstance.PROMIS_SCHEMA + ClsInstance.POINTER + "CUSTOMERS")
@NamedQueries({
	@NamedQuery(name=Customer.findAll, query="FROM Customer c"),
	@NamedQuery(name=Customer.findBySearch, query = "FROM Customer c WHERE 1 = 1 "),
	@NamedQuery(name=Customer.findByCustomerCode, query = "FROM Customer c WHERE c.id = :id "),
	@NamedQuery(name=Customer.findByIs, query = "FROM Customer c Where c.syncIsstaging = :syncIsstaging And c.syncIssync =:syncIssync ")
})
public class Customer implements Serializable {
	private static final long serialVersionUID = 1L;

	@Transient public static final String findAll = "Customer_findAll";
	@Transient public static final String findBySearch = "Customer_findBySearch";
	@Transient public static final String findByCustomerCode = "Customer_findByCustomerCode";
	@Transient public static final String findByIs = "Customer_findByIs";
	
	@Id
	@Column(name="CUSTOMER_CODE")
	private String id;
	
	@Override
	public String toString()
	{
		return ToStringBuilder.reflectionToString(this);
	}

	@Column(name="ADDR_FLAG")
	private String addrFlag;

	private String address;

	private String address2;

	private String address3;

	private String address4;

	private String address5;

	@Column(name="AMPHUR_CODE")
	private String amphurCode;

	@Column(name="AR_GL_CODE")
	private String arGlCode;

	@Column(name="AR_SUB_GL_CODE")
	private String arSubGlCode;

	@Column(name="ATTACH_FILE")
	private String attachFile;

	@Column(name="BRANCH_CODE")
	private BigDecimal branchCode;

	@Column(name="BRANCH_TYPE")
	private String branchType;

	@Column(name="BUSINESS_SEGMENT_TYPE")
	private String businessSegmentType;

	private String city;

	private String company;

	@Column(name="COMPANY_NAME_THAI")
	private String companyNameThai;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="COMPANY_REG_DATE")
	private Date companyRegDate;

	@Column(name="COMPANY_REG_NO")
	private String companyRegNo;

	@Column(name="CONTACT_ADDRESS_FROM")
	private String contactAddressFrom;

	@Column(name="CONTACT_PERSON")
	private String contactPerson;

	@Column(name="CONTACT_TYPE_ADD")
	private String contactTypeAdd;

	@Column(name="CONTRACT_ADDRESS")
	private String contractAddress;

	@Column(name="CONTRACT_ADDRESS2")
	private String contractAddress2;

	@Column(name="CONTRACT_ADDRESS3")
	private String contractAddress3;

	@Column(name="CONTRACT_ADDRESS4")
	private String contractAddress4;

	@Column(name="CONTRACT_ADDRESS5")
	private String contractAddress5;

	@Column(name="CONTRACT_AMPHUR")
	private String contractAmphur;

	@Column(name="CONTRACT_CITY_ZIP")
	private String contractCityZip;

	@Column(name="CONTRACT_COUNTRY")
	private String contractCountry;

	@Column(name="CONTRACT_EMAIL_ADDRESS")
	private String contractEmailAddress;

	@Column(name="CONTRACT_FAX")
	private String contractFax;

	@Column(name="CONTRACT_FLAG")
	private String contractFlag;

	@Column(name="CONTRACT_PHONE")
	private String contractPhone;

	@Column(name="CONTRACT_PRIVATE_PHONE")
	private String contractPrivatePhone;

	@Column(name="CONTRACT_PROVINCE")
	private String contractProvince;

	@Column(name="CONTRACT_TUMBON")
	private String contractTumbon;

	@Column(name="CONTRACT_TYPE")
	private String contractType;

	@Column(name="CORRESPOND_FLAG")
	private String correspondFlag;

	@Column(name="CORRESPOND_FLAG_E")
	private String correspondFlagE;

	@Column(name="CORRESPOND_FLAG_J")
	private String correspondFlagJ;

	@Column(name="CORRESPOND_FLAG_T")
	private String correspondFlagT;

	private String country;

	@Column(name="CREATED_BY")
	private String createdBy;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="CREATED_ON")
	private Date createdOn;

	@Column(name="CUSTOMER_ADDRESS")
	private String customerAddress;

	@Column(name="CUSTOMER_GROUP")
	private String customerGroup;

	@Column(name="CUSTOMER_LNAME_ENG")
	private String customerLnameEng;

	@Column(name="CUSTOMER_LNAME_THAI")
	private String customerLnameThai;

	@Column(name="CUSTOMER_NAME_ENG")
	private String customerNameEng;

	@Column(name="CUSTOMER_NAME_THAI")
	private String customerNameThai;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="DATE_OF_BIRTH")
	private Date dateOfBirth;

	@Column(name="DEFAULT_BANK_BRANCH_CODE")
	private String defaultBankBranchCode;

	@Column(name="DEFAULT_BANK_CODE")
	private String defaultBankCode;

	@Column(name="DEFAULT_CREDIT_PERIOD")
	private BigDecimal defaultCreditPeriod;

	@Column(name="DEFAULT_HOUSE_BANK_CODE")
	private String defaultHouseBankCode;

	@Column(name="DEFAULT_RECEIVED_TYPE")
	private String defaultReceivedType;

	@Column(name="DO_VALUE")
	private BigDecimal doValue;

	@Column(name="EMAIL_ADDRESS")
	private String emailAddress;

	@Column(name="EXISTING_OWNERSHIP_STATUS")
	private String existingOwnershipStatus;

	@Column(name="EXISTING_PROPERTY_SIZE")
	private BigDecimal existingPropertySize;

	private String fax;

	private String gender;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="ID_EXPIRE_DATE")
	private Date idExpireDate;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="ID_ISSUE_DATE")
	private Date idIssueDate;

	@Column(name="ID_ISSUE_PLACE")
	private String idIssuePlace;

	@Column(name="ID_NO")
	private String idNo;

	@Column(name="INS_FLAG")
	private String insFlag;

	@Column(name="JOB_TITLE")
	private String jobTitle;

	@Column(name="LAST_UPD_BY")
	private String lastUpdBy;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="LAST_UPD_ON")
	private Date lastUpdOn;

	@Column(name="LINK_FILE_ID")
	private BigDecimal linkFileId;

	@Column(name="LOCAL_FORIEGNER")
	private String localForiegner;

	@Column(name="MARITAL_STATUS")
	private String maritalStatus;

	@Column(name="MD_CEO_NAME")
	private String mdCeoName;

	private String nationality;

	@Column(name="NO_OF_DEPENDENTS")
	private BigDecimal noOfDependents;

	@Column(name="NO_OF_EMPLOYEE")
	private BigDecimal noOfEmployee;

	@Column(name="OCCUPATION_CODE")
	private BigDecimal occupationCode;

	@Column(name="OFFICE_ADDRESS")
	private String officeAddress;

	@Column(name="OFFICE_ADDRESS2")
	private String officeAddress2;

	@Column(name="OFFICE_ADDRESS3")
	private String officeAddress3;

	@Column(name="OFFICE_ADDRESS4")
	private String officeAddress4;

	@Column(name="OFFICE_ADDRESS5")
	private String officeAddress5;

	@Column(name="OFFICE_AMPHUR")
	private String officeAmphur;

	@Column(name="OFFICE_CITY_ZIP")
	private String officeCityZip;

	@Column(name="OFFICE_COUNTRY")
	private String officeCountry;

	@Column(name="OFFICE_EMAIL_ADDRESS")
	private String officeEmailAddress;

	@Column(name="OFFICE_FAX")
	private String officeFax;

	@Column(name="OFFICE_FLAG")
	private String officeFlag;

	@Column(name="OFFICE_PHONE")
	private String officePhone;

	@Column(name="OFFICE_PRIVATE_PHONE")
	private String officePrivatePhone;

	@Column(name="OFFICE_PROVINCE")
	private String officeProvince;

	@Column(name="OFFICE_TUMBON")
	private String officeTumbon;

	@Column(name="ORGANIZATION_CODE")
	private String organizationCode;

	@Column(name="OWNER_CUST_CODE")
	private String ownerCustCode;

	@Column(name="PARENT_CUSTOMER_CODE")
	private String parentCustomerCode;

	private String phone;

	@Column(name="PRIVATE_PHONE")
	private String privatePhone;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="PROFILE_DATE")
	private Date profileDate;

	private String project;

	@Column(name="PROSPECT_CODE")
	private String prospectCode;

	@Column(name="PROSPECT_COMPANY")
	private String prospectCompany;

	@Column(name="PROVINCE_CODE")
	private String provinceCode;

	@Column(name="RATE_CODE")
	private String rateCode;

	@Column(name="REGISTER_CAPITAL")
	private BigDecimal registerCapital;

	@Column(name="REGISTER_CURR")
	private String registerCurr;

	private String remarks;

	@Column(name="RUNNING_NO")
	private BigDecimal runningNo;

	private BigDecimal seq;

	@Column(name="SHARE_HOLDER")
	private String shareHolder;

	@Column(name="SHOP_NAME_ENG")
	private String shopNameEng;

	@Column(name="SHOP_NAME_THA")
	private String shopNameTha;

	@Column(name="SIZE_CODE")
	private String sizeCode;

	private String status;

	@Column(name="SYNC_CREATEDBY")
	private String syncCreatedby;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="SYNC_CREATEDON")
	private Date syncCreatedon;

	@Column(name="SYNC_EXTERNAL_REF_KEY")
	private String syncExternalRefKey;

	@Column(name="SYNC_EXTERNAL_REF_NO")
	private String syncExternalRefNo;

	@Column(name="SYNC_ISSTAGING")
	private String syncIsstaging;

	@Column(name="SYNC_ISSYNC")
	private String syncIssync;

	@Column(name="SYNC_UPDATEDBY")
	private String syncUpdatedby;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="SYNC_UPDATEDON")
	private Date syncUpdatedon;

	@Column(name="TAX_ID")
	private String taxId;

	private String telex;

	private String title;

	@Column(name="TITLE_CODE")
	private String titleCode;

	@Column(name="TITLE_THAI")
	private String titleThai;

	@Column(name="TUMBON_CODE")
	private String tumbonCode;

	@Column(name="TYPE_OF_OWNERSHIP")
	private String typeOfOwnership;

	@Column(name="VALUE_OF_EXISTING_PROPERTY")
	private BigDecimal valueOfExistingProperty;

	@Column(name="WHT_TYPES_FLAG")
	private String whtTypesFlag;

	@Column(name="YEARLY_CURR")
	private String yearlyCurr;

	@Column(name="YEARLY_INCOME")
	private BigDecimal yearlyIncome;

	@Column(name="YEARLY_REVENUE")
	private BigDecimal yearlyRevenue;

	private String zip;
	
	@Column(name="IS_RESEND")
	private String isResend;
	
	@Column(name="RESEND_COUNT")
	private int resendCount;

	public Customer() {
	}
	
	
	/**
	 * @return the resendCount
	 * Date =Nov 1, 2013 : 2:48:42 PM 
	 * CreateBy=Chatree Siangklom
	 * Customer.java int
	 * TODO
	 */
	public int getResendCount() {
		return resendCount;
	}


	/**
	 * @param resendCount the resendCount to set
	 * Date =Nov 1, 2013 : 2:48:42 PM 
	 * CreateBy=Chatree Siangklom
	 *  Customer.java int
	 * TODO
	 */
	public void setResendCount(int resendCount) {
		this.resendCount = resendCount;
	}


	/**
	 * @return the isResend
	 * Date =Oct 29, 2013 : 11:52:04 AM 
	 * CreateBy=Chatree Siangklom
	 * Customer.java String
	 * TODO
	 */
	public String getIsResend() {
		return isResend;
	}


	/**
	 * @param isResend the isResend to set
	 * Date =Oct 29, 2013 : 11:52:04 AM 
	 * CreateBy=Chatree Siangklom
	 *  Customer.java String
	 * TODO
	 */
	public void setIsResend(String isResend) {
		this.isResend = isResend;
	}


	/**
	 * @return the id
	 * Date =Oct 4, 2013 : 12:06:06 PM 
	 * CreateBy=Chatree Siangklom
	 * TODO
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 * Date =Oct 4, 2013 : 12:06:06 PM 
	 * CreateBy=Chatree Siangklom
	 * TODO
	 */
	public void setId(String id) {
		this.id = id;
	}

	public String getAddrFlag() {
		return this.addrFlag;
	}

	public void setAddrFlag(String addrFlag) {
		this.addrFlag = addrFlag;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddress2() {
		return this.address2;
	}

	public void setAddress2(String address2) {
		this.address2 = address2;
	}

	public String getAddress3() {
		return this.address3;
	}

	public void setAddress3(String address3) {
		this.address3 = address3;
	}

	public String getAddress4() {
		return this.address4;
	}

	public void setAddress4(String address4) {
		this.address4 = address4;
	}

	public String getAddress5() {
		return this.address5;
	}

	public void setAddress5(String address5) {
		this.address5 = address5;
	}

	public String getAmphurCode() {
		return this.amphurCode;
	}

	public void setAmphurCode(String amphurCode) {
		this.amphurCode = amphurCode;
	}

	public String getArGlCode() {
		return this.arGlCode;
	}

	public void setArGlCode(String arGlCode) {
		this.arGlCode = arGlCode;
	}

	public String getArSubGlCode() {
		return this.arSubGlCode;
	}

	public void setArSubGlCode(String arSubGlCode) {
		this.arSubGlCode = arSubGlCode;
	}

	public String getAttachFile() {
		return this.attachFile;
	}

	public void setAttachFile(String attachFile) {
		this.attachFile = attachFile;
	}

	public BigDecimal getBranchCode() {
		return this.branchCode;
	}

	public void setBranchCode(BigDecimal branchCode) {
		this.branchCode = branchCode;
	}

	public String getBranchType() {
		return this.branchType;
	}

	public void setBranchType(String branchType) {
		this.branchType = branchType;
	}

	public String getBusinessSegmentType() {
		return this.businessSegmentType;
	}

	public void setBusinessSegmentType(String businessSegmentType) {
		this.businessSegmentType = businessSegmentType;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCompany() {
		return this.company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getCompanyNameThai() {
		return this.companyNameThai;
	}

	public void setCompanyNameThai(String companyNameThai) {
		this.companyNameThai = companyNameThai;
	}

	public Date getCompanyRegDate() {
		return this.companyRegDate;
	}

	public void setCompanyRegDate(Date companyRegDate) {
		this.companyRegDate = companyRegDate;
	}

	public String getCompanyRegNo() {
		return this.companyRegNo;
	}

	public void setCompanyRegNo(String companyRegNo) {
		this.companyRegNo = companyRegNo;
	}

	public String getContactAddressFrom() {
		return this.contactAddressFrom;
	}

	public void setContactAddressFrom(String contactAddressFrom) {
		this.contactAddressFrom = contactAddressFrom;
	}

	public String getContactPerson() {
		return this.contactPerson;
	}

	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}

	public String getContactTypeAdd() {
		return this.contactTypeAdd;
	}

	public void setContactTypeAdd(String contactTypeAdd) {
		this.contactTypeAdd = contactTypeAdd;
	}

	public String getContractAddress() {
		return this.contractAddress;
	}

	public void setContractAddress(String contractAddress) {
		this.contractAddress = contractAddress;
	}

	public String getContractAddress2() {
		return this.contractAddress2;
	}

	public void setContractAddress2(String contractAddress2) {
		this.contractAddress2 = contractAddress2;
	}

	public String getContractAddress3() {
		return this.contractAddress3;
	}

	public void setContractAddress3(String contractAddress3) {
		this.contractAddress3 = contractAddress3;
	}

	public String getContractAddress4() {
		return this.contractAddress4;
	}

	public void setContractAddress4(String contractAddress4) {
		this.contractAddress4 = contractAddress4;
	}

	public String getContractAddress5() {
		return this.contractAddress5;
	}

	public void setContractAddress5(String contractAddress5) {
		this.contractAddress5 = contractAddress5;
	}

	public String getContractAmphur() {
		return this.contractAmphur;
	}

	public void setContractAmphur(String contractAmphur) {
		this.contractAmphur = contractAmphur;
	}

	public String getContractCityZip() {
		return this.contractCityZip;
	}

	public void setContractCityZip(String contractCityZip) {
		this.contractCityZip = contractCityZip;
	}

	public String getContractCountry() {
		return this.contractCountry;
	}

	public void setContractCountry(String contractCountry) {
		this.contractCountry = contractCountry;
	}

	public String getContractEmailAddress() {
		return this.contractEmailAddress;
	}

	public void setContractEmailAddress(String contractEmailAddress) {
		this.contractEmailAddress = contractEmailAddress;
	}

	public String getContractFax() {
		return this.contractFax;
	}

	public void setContractFax(String contractFax) {
		this.contractFax = contractFax;
	}

	public String getContractFlag() {
		return this.contractFlag;
	}

	public void setContractFlag(String contractFlag) {
		this.contractFlag = contractFlag;
	}

	public String getContractPhone() {
		return this.contractPhone;
	}

	public void setContractPhone(String contractPhone) {
		this.contractPhone = contractPhone;
	}

	public String getContractPrivatePhone() {
		return this.contractPrivatePhone;
	}

	public void setContractPrivatePhone(String contractPrivatePhone) {
		this.contractPrivatePhone = contractPrivatePhone;
	}

	public String getContractProvince() {
		return this.contractProvince;
	}

	public void setContractProvince(String contractProvince) {
		this.contractProvince = contractProvince;
	}

	public String getContractTumbon() {
		return this.contractTumbon;
	}

	public void setContractTumbon(String contractTumbon) {
		this.contractTumbon = contractTumbon;
	}

	public String getContractType() {
		return this.contractType;
	}

	public void setContractType(String contractType) {
		this.contractType = contractType;
	}

	public String getCorrespondFlag() {
		return this.correspondFlag;
	}

	public void setCorrespondFlag(String correspondFlag) {
		this.correspondFlag = correspondFlag;
	}

	public String getCorrespondFlagE() {
		return this.correspondFlagE;
	}

	public void setCorrespondFlagE(String correspondFlagE) {
		this.correspondFlagE = correspondFlagE;
	}

	public String getCorrespondFlagJ() {
		return this.correspondFlagJ;
	}

	public void setCorrespondFlagJ(String correspondFlagJ) {
		this.correspondFlagJ = correspondFlagJ;
	}

	public String getCorrespondFlagT() {
		return this.correspondFlagT;
	}

	public void setCorrespondFlagT(String correspondFlagT) {
		this.correspondFlagT = correspondFlagT;
	}

	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedOn() {
		return this.createdOn;
	}

	public void setCreatedOn(Date createdOn) {
		this.createdOn = createdOn;
	}

	public String getCustomerAddress() {
		return this.customerAddress;
	}

	public void setCustomerAddress(String customerAddress) {
		this.customerAddress = customerAddress;
	}

	public String getCustomerGroup() {
		return this.customerGroup;
	}

	public void setCustomerGroup(String customerGroup) {
		this.customerGroup = customerGroup;
	}

	public String getCustomerLnameEng() {
		return this.customerLnameEng;
	}

	public void setCustomerLnameEng(String customerLnameEng) {
		this.customerLnameEng = customerLnameEng;
	}

	public String getCustomerLnameThai() {
		return this.customerLnameThai;
	}

	public void setCustomerLnameThai(String customerLnameThai) {
		this.customerLnameThai = customerLnameThai;
	}

	public String getCustomerNameEng() {
		return this.customerNameEng;
	}

	public void setCustomerNameEng(String customerNameEng) {
		this.customerNameEng = customerNameEng;
	}

	public String getCustomerNameThai() {
		return this.customerNameThai;
	}

	public void setCustomerNameThai(String customerNameThai) {
		this.customerNameThai = customerNameThai;
	}

	public Date getDateOfBirth() {
		return this.dateOfBirth;
	}

	public void setDateOfBirth(Date dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}

	public String getDefaultBankBranchCode() {
		return this.defaultBankBranchCode;
	}

	public void setDefaultBankBranchCode(String defaultBankBranchCode) {
		this.defaultBankBranchCode = defaultBankBranchCode;
	}

	public String getDefaultBankCode() {
		return this.defaultBankCode;
	}

	public void setDefaultBankCode(String defaultBankCode) {
		this.defaultBankCode = defaultBankCode;
	}

	public BigDecimal getDefaultCreditPeriod() {
		return this.defaultCreditPeriod;
	}

	public void setDefaultCreditPeriod(BigDecimal defaultCreditPeriod) {
		this.defaultCreditPeriod = defaultCreditPeriod;
	}

	public String getDefaultHouseBankCode() {
		return this.defaultHouseBankCode;
	}

	public void setDefaultHouseBankCode(String defaultHouseBankCode) {
		this.defaultHouseBankCode = defaultHouseBankCode;
	}

	public String getDefaultReceivedType() {
		return this.defaultReceivedType;
	}

	public void setDefaultReceivedType(String defaultReceivedType) {
		this.defaultReceivedType = defaultReceivedType;
	}

	public BigDecimal getDoValue() {
		return this.doValue;
	}

	public void setDoValue(BigDecimal doValue) {
		this.doValue = doValue;
	}

	public String getEmailAddress() {
		return this.emailAddress;
	}

	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}

	public String getExistingOwnershipStatus() {
		return this.existingOwnershipStatus;
	}

	public void setExistingOwnershipStatus(String existingOwnershipStatus) {
		this.existingOwnershipStatus = existingOwnershipStatus;
	}

	public BigDecimal getExistingPropertySize() {
		return this.existingPropertySize;
	}

	public void setExistingPropertySize(BigDecimal existingPropertySize) {
		this.existingPropertySize = existingPropertySize;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Date getIdExpireDate() {
		return this.idExpireDate;
	}

	public void setIdExpireDate(Date idExpireDate) {
		this.idExpireDate = idExpireDate;
	}

	public Date getIdIssueDate() {
		return this.idIssueDate;
	}

	public void setIdIssueDate(Date idIssueDate) {
		this.idIssueDate = idIssueDate;
	}

	public String getIdIssuePlace() {
		return this.idIssuePlace;
	}

	public void setIdIssuePlace(String idIssuePlace) {
		this.idIssuePlace = idIssuePlace;
	}

	public String getIdNo() {
		return this.idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	public String getInsFlag() {
		return this.insFlag;
	}

	public void setInsFlag(String insFlag) {
		this.insFlag = insFlag;
	}

	public String getJobTitle() {
		return this.jobTitle;
	}

	public void setJobTitle(String jobTitle) {
		this.jobTitle = jobTitle;
	}

	public String getLastUpdBy() {
		return this.lastUpdBy;
	}

	public void setLastUpdBy(String lastUpdBy) {
		this.lastUpdBy = lastUpdBy;
	}

	public Date getLastUpdOn() {
		return this.lastUpdOn;
	}

	public void setLastUpdOn(Date lastUpdOn) {
		this.lastUpdOn = lastUpdOn;
	}

	public BigDecimal getLinkFileId() {
		return this.linkFileId;
	}

	public void setLinkFileId(BigDecimal linkFileId) {
		this.linkFileId = linkFileId;
	}

	public String getLocalForiegner() {
		return this.localForiegner;
	}

	public void setLocalForiegner(String localForiegner) {
		this.localForiegner = localForiegner;
	}

	public String getMaritalStatus() {
		return this.maritalStatus;
	}

	public void setMaritalStatus(String maritalStatus) {
		this.maritalStatus = maritalStatus;
	}

	public String getMdCeoName() {
		return this.mdCeoName;
	}

	public void setMdCeoName(String mdCeoName) {
		this.mdCeoName = mdCeoName;
	}

	public String getNationality() {
		return this.nationality;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}

	public BigDecimal getNoOfDependents() {
		return this.noOfDependents;
	}

	public void setNoOfDependents(BigDecimal noOfDependents) {
		this.noOfDependents = noOfDependents;
	}

	public BigDecimal getNoOfEmployee() {
		return this.noOfEmployee;
	}

	public void setNoOfEmployee(BigDecimal noOfEmployee) {
		this.noOfEmployee = noOfEmployee;
	}

	public BigDecimal getOccupationCode() {
		return this.occupationCode;
	}

	public void setOccupationCode(BigDecimal occupationCode) {
		this.occupationCode = occupationCode;
	}

	public String getOfficeAddress() {
		return this.officeAddress;
	}

	public void setOfficeAddress(String officeAddress) {
		this.officeAddress = officeAddress;
	}

	public String getOfficeAddress2() {
		return this.officeAddress2;
	}

	public void setOfficeAddress2(String officeAddress2) {
		this.officeAddress2 = officeAddress2;
	}

	public String getOfficeAddress3() {
		return this.officeAddress3;
	}

	public void setOfficeAddress3(String officeAddress3) {
		this.officeAddress3 = officeAddress3;
	}

	public String getOfficeAddress4() {
		return this.officeAddress4;
	}

	public void setOfficeAddress4(String officeAddress4) {
		this.officeAddress4 = officeAddress4;
	}

	public String getOfficeAddress5() {
		return this.officeAddress5;
	}

	public void setOfficeAddress5(String officeAddress5) {
		this.officeAddress5 = officeAddress5;
	}

	public String getOfficeAmphur() {
		return this.officeAmphur;
	}

	public void setOfficeAmphur(String officeAmphur) {
		this.officeAmphur = officeAmphur;
	}

	public String getOfficeCityZip() {
		return this.officeCityZip;
	}

	public void setOfficeCityZip(String officeCityZip) {
		this.officeCityZip = officeCityZip;
	}

	public String getOfficeCountry() {
		return this.officeCountry;
	}

	public void setOfficeCountry(String officeCountry) {
		this.officeCountry = officeCountry;
	}

	public String getOfficeEmailAddress() {
		return this.officeEmailAddress;
	}

	public void setOfficeEmailAddress(String officeEmailAddress) {
		this.officeEmailAddress = officeEmailAddress;
	}

	public String getOfficeFax() {
		return this.officeFax;
	}

	public void setOfficeFax(String officeFax) {
		this.officeFax = officeFax;
	}

	public String getOfficeFlag() {
		return this.officeFlag;
	}

	public void setOfficeFlag(String officeFlag) {
		this.officeFlag = officeFlag;
	}

	public String getOfficePhone() {
		return this.officePhone;
	}

	public void setOfficePhone(String officePhone) {
		this.officePhone = officePhone;
	}

	public String getOfficePrivatePhone() {
		return this.officePrivatePhone;
	}

	public void setOfficePrivatePhone(String officePrivatePhone) {
		this.officePrivatePhone = officePrivatePhone;
	}

	public String getOfficeProvince() {
		return this.officeProvince;
	}

	public void setOfficeProvince(String officeProvince) {
		this.officeProvince = officeProvince;
	}

	public String getOfficeTumbon() {
		return this.officeTumbon;
	}

	public void setOfficeTumbon(String officeTumbon) {
		this.officeTumbon = officeTumbon;
	}

	public String getOrganizationCode() {
		return this.organizationCode;
	}

	public void setOrganizationCode(String organizationCode) {
		this.organizationCode = organizationCode;
	}

	public String getOwnerCustCode() {
		return this.ownerCustCode;
	}

	public void setOwnerCustCode(String ownerCustCode) {
		this.ownerCustCode = ownerCustCode;
	}

	public String getParentCustomerCode() {
		return this.parentCustomerCode;
	}

	public void setParentCustomerCode(String parentCustomerCode) {
		this.parentCustomerCode = parentCustomerCode;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPrivatePhone() {
		return this.privatePhone;
	}

	public void setPrivatePhone(String privatePhone) {
		this.privatePhone = privatePhone;
	}

	public Date getProfileDate() {
		return this.profileDate;
	}

	public void setProfileDate(Date profileDate) {
		this.profileDate = profileDate;
	}

	public String getProject() {
		return this.project;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public String getProspectCode() {
		return this.prospectCode;
	}

	public void setProspectCode(String prospectCode) {
		this.prospectCode = prospectCode;
	}

	public String getProspectCompany() {
		return this.prospectCompany;
	}

	public void setProspectCompany(String prospectCompany) {
		this.prospectCompany = prospectCompany;
	}

	public String getProvinceCode() {
		return this.provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getRateCode() {
		return this.rateCode;
	}

	public void setRateCode(String rateCode) {
		this.rateCode = rateCode;
	}

	public BigDecimal getRegisterCapital() {
		return this.registerCapital;
	}

	public void setRegisterCapital(BigDecimal registerCapital) {
		this.registerCapital = registerCapital;
	}

	public String getRegisterCurr() {
		return this.registerCurr;
	}

	public void setRegisterCurr(String registerCurr) {
		this.registerCurr = registerCurr;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public BigDecimal getRunningNo() {
		return this.runningNo;
	}

	public void setRunningNo(BigDecimal runningNo) {
		this.runningNo = runningNo;
	}

	public BigDecimal getSeq() {
		return this.seq;
	}

	public void setSeq(BigDecimal seq) {
		this.seq = seq;
	}

	public String getShareHolder() {
		return this.shareHolder;
	}

	public void setShareHolder(String shareHolder) {
		this.shareHolder = shareHolder;
	}

	public String getShopNameEng() {
		return this.shopNameEng;
	}

	public void setShopNameEng(String shopNameEng) {
		this.shopNameEng = shopNameEng;
	}

	public String getShopNameTha() {
		return this.shopNameTha;
	}

	public void setShopNameTha(String shopNameTha) {
		this.shopNameTha = shopNameTha;
	}

	public String getSizeCode() {
		return this.sizeCode;
	}

	public void setSizeCode(String sizeCode) {
		this.sizeCode = sizeCode;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getSyncCreatedby() {
		return this.syncCreatedby;
	}

	public void setSyncCreatedby(String syncCreatedby) {
		this.syncCreatedby = syncCreatedby;
	}

	public Date getSyncCreatedon() {
		return this.syncCreatedon;
	}

	public void setSyncCreatedon(Date syncCreatedon) {
		this.syncCreatedon = syncCreatedon;
	}

	public String getSyncExternalRefKey() {
		return this.syncExternalRefKey;
	}

	public void setSyncExternalRefKey(String syncExternalRefKey) {
		this.syncExternalRefKey = syncExternalRefKey;
	}

	public String getSyncExternalRefNo() {
		return this.syncExternalRefNo;
	}

	public void setSyncExternalRefNo(String syncExternalRefNo) {
		this.syncExternalRefNo = syncExternalRefNo;
	}

	public String getSyncIsstaging() {
		return this.syncIsstaging;
	}

	public void setSyncIsstaging(String syncIsstaging) {
		this.syncIsstaging = syncIsstaging;
	}

	public String getSyncIssync() {
		return this.syncIssync;
	}

	public void setSyncIssync(String syncIssync) {
		this.syncIssync = syncIssync;
	}

	public String getSyncUpdatedby() {
		return this.syncUpdatedby;
	}

	public void setSyncUpdatedby(String syncUpdatedby) {
		this.syncUpdatedby = syncUpdatedby;
	}

	public Date getSyncUpdatedon() {
		return this.syncUpdatedon;
	}

	public void setSyncUpdatedon(Date syncUpdatedon) {
		this.syncUpdatedon = syncUpdatedon;
	}

	public String getTaxId() {
		return this.taxId;
	}

	public void setTaxId(String taxId) {
		this.taxId = taxId;
	}

	public String getTelex() {
		return this.telex;
	}

	public void setTelex(String telex) {
		this.telex = telex;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitleCode() {
		return this.titleCode;
	}

	public void setTitleCode(String titleCode) {
		this.titleCode = titleCode;
	}

	public String getTitleThai() {
		return this.titleThai;
	}

	public void setTitleThai(String titleThai) {
		this.titleThai = titleThai;
	}

	public String getTumbonCode() {
		return this.tumbonCode;
	}

	public void setTumbonCode(String tumbonCode) {
		this.tumbonCode = tumbonCode;
	}

	public String getTypeOfOwnership() {
		return this.typeOfOwnership;
	}

	public void setTypeOfOwnership(String typeOfOwnership) {
		this.typeOfOwnership = typeOfOwnership;
	}

	public BigDecimal getValueOfExistingProperty() {
		return this.valueOfExistingProperty;
	}

	public void setValueOfExistingProperty(BigDecimal valueOfExistingProperty) {
		this.valueOfExistingProperty = valueOfExistingProperty;
	}

	public String getWhtTypesFlag() {
		return this.whtTypesFlag;
	}

	public void setWhtTypesFlag(String whtTypesFlag) {
		this.whtTypesFlag = whtTypesFlag;
	}

	public String getYearlyCurr() {
		return this.yearlyCurr;
	}

	public void setYearlyCurr(String yearlyCurr) {
		this.yearlyCurr = yearlyCurr;
	}

	public BigDecimal getYearlyIncome() {
		return this.yearlyIncome;
	}

	public void setYearlyIncome(BigDecimal yearlyIncome) {
		this.yearlyIncome = yearlyIncome;
	}

	public BigDecimal getYearlyRevenue() {
		return this.yearlyRevenue;
	}

	public void setYearlyRevenue(BigDecimal yearlyRevenue) {
		this.yearlyRevenue = yearlyRevenue;
	}

	public String getZip() {
		return this.zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	/**
	 * Date =Oct 30, 2013 : 2:36:51 PM 
	 * CreateBy=Chatree Siangklom
	 * Customer
	 * TODO
	 * @param id
	 * @param addrFlag
	 * @param address
	 * @param address2
	 * @param address3
	 * @param address4
	 * @param address5
	 * @param amphurCode
	 * @param arGlCode
	 * @param arSubGlCode
	 * @param attachFile
	 * @param branchCode
	 * @param branchType
	 * @param businessSegmentType
	 * @param city
	 * @param company
	 * @param companyNameThai
	 * @param companyRegDate
	 * @param companyRegNo
	 * @param contactAddressFrom
	 * @param contactPerson
	 * @param contactTypeAdd
	 * @param contractAddress
	 * @param contractAddress2
	 * @param contractAddress3
	 * @param contractAddress4
	 * @param contractAddress5
	 * @param contractAmphur
	 * @param contractCityZip
	 * @param contractCountry
	 * @param contractEmailAddress
	 * @param contractFax
	 * @param contractFlag
	 * @param contractPhone
	 * @param contractPrivatePhone
	 * @param contractProvince
	 * @param contractTumbon
	 * @param contractType
	 * @param correspondFlag
	 * @param correspondFlagE
	 * @param correspondFlagJ
	 * @param correspondFlagT
	 * @param country
	 * @param createdBy
	 * @param createdOn
	 * @param customerAddress
	 * @param customerGroup
	 * @param customerLnameEng
	 * @param customerLnameThai
	 * @param customerNameEng
	 * @param customerNameThai
	 * @param dateOfBirth
	 * @param defaultBankBranchCode
	 * @param defaultBankCode
	 * @param defaultCreditPeriod
	 * @param defaultHouseBankCode
	 * @param defaultReceivedType
	 * @param doValue
	 * @param emailAddress
	 * @param existingOwnershipStatus
	 * @param existingPropertySize
	 * @param fax
	 * @param gender
	 * @param idExpireDate
	 * @param idIssueDate
	 * @param idIssuePlace
	 * @param idNo
	 * @param insFlag
	 * @param jobTitle
	 * @param lastUpdBy
	 * @param lastUpdOn
	 * @param linkFileId
	 * @param localForiegner
	 * @param maritalStatus
	 * @param mdCeoName
	 * @param nationality
	 * @param noOfDependents
	 * @param noOfEmployee
	 * @param occupationCode
	 * @param officeAddress
	 * @param officeAddress2
	 * @param officeAddress3
	 * @param officeAddress4
	 * @param officeAddress5
	 * @param officeAmphur
	 * @param officeCityZip
	 * @param officeCountry
	 * @param officeEmailAddress
	 * @param officeFax
	 * @param officeFlag
	 * @param officePhone
	 * @param officePrivatePhone
	 * @param officeProvince
	 * @param officeTumbon
	 * @param organizationCode
	 * @param ownerCustCode
	 * @param parentCustomerCode
	 * @param phone
	 * @param privatePhone
	 * @param profileDate
	 * @param project
	 * @param prospectCode
	 * @param prospectCompany
	 * @param provinceCode
	 * @param rateCode
	 * @param registerCapital
	 * @param registerCurr
	 * @param remarks
	 * @param runningNo
	 * @param seq
	 * @param shareHolder
	 * @param shopNameEng
	 * @param shopNameTha
	 * @param sizeCode
	 * @param status
	 * @param syncCreatedby
	 * @param syncCreatedon
	 * @param syncExternalRefKey
	 * @param syncExternalRefNo
	 * @param syncIsstaging
	 * @param syncIssync
	 * @param syncUpdatedby
	 * @param syncUpdatedon
	 * @param taxId
	 * @param telex
	 * @param title
	 * @param titleCode
	 * @param titleThai
	 * @param tumbonCode
	 * @param typeOfOwnership
	 * @param valueOfExistingProperty
	 * @param whtTypesFlag
	 * @param yearlyCurr
	 * @param yearlyIncome
	 * @param yearlyRevenue
	 * @param zip
	 * @param isResend
	 */
	public Customer(String id, String addrFlag, String address,
			String address2, String address3, String address4, String address5,
			String amphurCode, String arGlCode, String arSubGlCode,
			String attachFile, BigDecimal branchCode, String branchType,
			String businessSegmentType, String city, String company,
			String companyNameThai, Date companyRegDate, String companyRegNo,
			String contactAddressFrom, String contactPerson,
			String contactTypeAdd, String contractAddress,
			String contractAddress2, String contractAddress3,
			String contractAddress4, String contractAddress5,
			String contractAmphur, String contractCityZip,
			String contractCountry, String contractEmailAddress,
			String contractFax, String contractFlag, String contractPhone,
			String contractPrivatePhone, String contractProvince,
			String contractTumbon, String contractType, String correspondFlag,
			String correspondFlagE, String correspondFlagJ,
			String correspondFlagT, String country, String createdBy,
			Date createdOn, String customerAddress, String customerGroup,
			String customerLnameEng, String customerLnameThai,
			String customerNameEng, String customerNameThai, Date dateOfBirth,
			String defaultBankBranchCode, String defaultBankCode,
			BigDecimal defaultCreditPeriod, String defaultHouseBankCode,
			String defaultReceivedType, BigDecimal doValue,
			String emailAddress, String existingOwnershipStatus,
			BigDecimal existingPropertySize, String fax, String gender,
			Date idExpireDate, Date idIssueDate, String idIssuePlace,
			String idNo, String insFlag, String jobTitle, String lastUpdBy,
			Date lastUpdOn, BigDecimal linkFileId, String localForiegner,
			String maritalStatus, String mdCeoName, String nationality,
			BigDecimal noOfDependents, BigDecimal noOfEmployee,
			BigDecimal occupationCode, String officeAddress,
			String officeAddress2, String officeAddress3,
			String officeAddress4, String officeAddress5, String officeAmphur,
			String officeCityZip, String officeCountry,
			String officeEmailAddress, String officeFax, String officeFlag,
			String officePhone, String officePrivatePhone,
			String officeProvince, String officeTumbon,
			String organizationCode, String ownerCustCode,
			String parentCustomerCode, String phone, String privatePhone,
			Date profileDate, String project, String prospectCode,
			String prospectCompany, String provinceCode, String rateCode,
			BigDecimal registerCapital, String registerCurr, String remarks,
			BigDecimal runningNo, BigDecimal seq, String shareHolder,
			String shopNameEng, String shopNameTha, String sizeCode,
			String status, String syncCreatedby, Date syncCreatedon,
			String syncExternalRefKey, String syncExternalRefNo,
			String syncIsstaging, String syncIssync, String syncUpdatedby,
			Date syncUpdatedon, String taxId, String telex, String title,
			String titleCode, String titleThai, String tumbonCode,
			String typeOfOwnership, BigDecimal valueOfExistingProperty,
			String whtTypesFlag, String yearlyCurr, BigDecimal yearlyIncome,
			BigDecimal yearlyRevenue, String zip, String isResend) {
		this.id = id;
		this.addrFlag = addrFlag;
		this.address = address;
		this.address2 = address2;
		this.address3 = address3;
		this.address4 = address4;
		this.address5 = address5;
		this.amphurCode = amphurCode;
		this.arGlCode = arGlCode;
		this.arSubGlCode = arSubGlCode;
		this.attachFile = attachFile;
		this.branchCode = branchCode;
		this.branchType = branchType;
		this.businessSegmentType = businessSegmentType;
		this.city = city;
		this.company = company;
		this.companyNameThai = companyNameThai;
		this.companyRegDate = companyRegDate;
		this.companyRegNo = companyRegNo;
		this.contactAddressFrom = contactAddressFrom;
		this.contactPerson = contactPerson;
		this.contactTypeAdd = contactTypeAdd;
		this.contractAddress = contractAddress;
		this.contractAddress2 = contractAddress2;
		this.contractAddress3 = contractAddress3;
		this.contractAddress4 = contractAddress4;
		this.contractAddress5 = contractAddress5;
		this.contractAmphur = contractAmphur;
		this.contractCityZip = contractCityZip;
		this.contractCountry = contractCountry;
		this.contractEmailAddress = contractEmailAddress;
		this.contractFax = contractFax;
		this.contractFlag = contractFlag;
		this.contractPhone = contractPhone;
		this.contractPrivatePhone = contractPrivatePhone;
		this.contractProvince = contractProvince;
		this.contractTumbon = contractTumbon;
		this.contractType = contractType;
		this.correspondFlag = correspondFlag;
		this.correspondFlagE = correspondFlagE;
		this.correspondFlagJ = correspondFlagJ;
		this.correspondFlagT = correspondFlagT;
		this.country = country;
		this.createdBy = createdBy;
		this.createdOn = createdOn;
		this.customerAddress = customerAddress;
		this.customerGroup = customerGroup;
		this.customerLnameEng = customerLnameEng;
		this.customerLnameThai = customerLnameThai;
		this.customerNameEng = customerNameEng;
		this.customerNameThai = customerNameThai;
		this.dateOfBirth = dateOfBirth;
		this.defaultBankBranchCode = defaultBankBranchCode;
		this.defaultBankCode = defaultBankCode;
		this.defaultCreditPeriod = defaultCreditPeriod;
		this.defaultHouseBankCode = defaultHouseBankCode;
		this.defaultReceivedType = defaultReceivedType;
		this.doValue = doValue;
		this.emailAddress = emailAddress;
		this.existingOwnershipStatus = existingOwnershipStatus;
		this.existingPropertySize = existingPropertySize;
		this.fax = fax;
		this.gender = gender;
		this.idExpireDate = idExpireDate;
		this.idIssueDate = idIssueDate;
		this.idIssuePlace = idIssuePlace;
		this.idNo = idNo;
		this.insFlag = insFlag;
		this.jobTitle = jobTitle;
		this.lastUpdBy = lastUpdBy;
		this.lastUpdOn = lastUpdOn;
		this.linkFileId = linkFileId;
		this.localForiegner = localForiegner;
		this.maritalStatus = maritalStatus;
		this.mdCeoName = mdCeoName;
		this.nationality = nationality;
		this.noOfDependents = noOfDependents;
		this.noOfEmployee = noOfEmployee;
		this.occupationCode = occupationCode;
		this.officeAddress = officeAddress;
		this.officeAddress2 = officeAddress2;
		this.officeAddress3 = officeAddress3;
		this.officeAddress4 = officeAddress4;
		this.officeAddress5 = officeAddress5;
		this.officeAmphur = officeAmphur;
		this.officeCityZip = officeCityZip;
		this.officeCountry = officeCountry;
		this.officeEmailAddress = officeEmailAddress;
		this.officeFax = officeFax;
		this.officeFlag = officeFlag;
		this.officePhone = officePhone;
		this.officePrivatePhone = officePrivatePhone;
		this.officeProvince = officeProvince;
		this.officeTumbon = officeTumbon;
		this.organizationCode = organizationCode;
		this.ownerCustCode = ownerCustCode;
		this.parentCustomerCode = parentCustomerCode;
		this.phone = phone;
		this.privatePhone = privatePhone;
		this.profileDate = profileDate;
		this.project = project;
		this.prospectCode = prospectCode;
		this.prospectCompany = prospectCompany;
		this.provinceCode = provinceCode;
		this.rateCode = rateCode;
		this.registerCapital = registerCapital;
		this.registerCurr = registerCurr;
		this.remarks = remarks;
		this.runningNo = runningNo;
		this.seq = seq;
		this.shareHolder = shareHolder;
		this.shopNameEng = shopNameEng;
		this.shopNameTha = shopNameTha;
		this.sizeCode = sizeCode;
		this.status = status;
		this.syncCreatedby = syncCreatedby;
		this.syncCreatedon = syncCreatedon;
		this.syncExternalRefKey = syncExternalRefKey;
		this.syncExternalRefNo = syncExternalRefNo;
		this.syncIsstaging = syncIsstaging;
		this.syncIssync = syncIssync;
		this.syncUpdatedby = syncUpdatedby;
		this.syncUpdatedon = syncUpdatedon;
		this.taxId = taxId;
		this.telex = telex;
		this.title = title;
		this.titleCode = titleCode;
		this.titleThai = titleThai;
		this.tumbonCode = tumbonCode;
		this.typeOfOwnership = typeOfOwnership;
		this.valueOfExistingProperty = valueOfExistingProperty;
		this.whtTypesFlag = whtTypesFlag;
		this.yearlyCurr = yearlyCurr;
		this.yearlyIncome = yearlyIncome;
		this.yearlyRevenue = yearlyRevenue;
		this.zip = zip;
		this.isResend = isResend;
	}
	
	

}